using QuDao;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace AdminUI.Pages.BaseData
{
    public class VideoPreviewModel : PageModel
    {
        public Video Video { get; set; }

        public void OnGet(int vid)
        {
            Video = VideoBO.Instance.GetItem(vid);
        }
    }
}
